﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Nucleic.Core.Utils.hebcz
{
    public class mkomedicaleinvoiceModel
    {
        /// <summary>
        /// 电子票据模板
        /// </summary>
        public string einvoicespecimen { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string issuedate { get; set; }
        public string issuetime { get; set; }
        public string payerpartytype { get; set; }
        public string payerpartycode { get; set; }
        public string payerpartyname { get; set; }
        public string payeracct { get; set; }
        public string payeropbk { get; set; }
        public string payerphonenumber { get; set; }
        public string recname { get; set; }
        public string recopbk { get; set; }
        public string recacct { get; set; }
        public string totalamount { get; set; }
        public string handlingperson { get; set; }
        public string checker { get; set; }
        public string remark { get; set; }
        public string bizcode { get; set; }
        /// <summary>
        /// 相关票据代码
        /// </summary>
        public string relatedinvoicecode { get; set; }
        /// <summary>
        /// 相关票据号码
        /// </summary>
        public string relatedinvoicenumber { get; set; }
        public string businessnumber { get; set; }
        public string businessdate { get; set; }
        public string gender { get; set; }
        public string medicaltype { get; set; }
        public string patientnumber { get; set; }
        public string medicaldate { get; set; }
        public string orgtype { get; set; }
        public string medicalinsurancetype { get; set; }
        public string medicalinsuranceid { get; set; }
        public string fundpayamount { get; set; }
        public string otherpayamount { get; set; }
        public string accountpayamount { get; set; }
        public string ownpayamount { get; set; }
        public string selfpaymentamount { get; set; }
        public string selfpaymentcost { get; set; }
        public string casenumber { get; set; }
        public string hospitalizationnumber { get; set; }
        public string departmentname { get; set; }
        public string inhospitaldate { get; set; }
        public string outhospitaldate { get; set; }
        public string prepayamount { get; set; }
        public string rechargeamount { get; set; }
        public string refundamount { get; set; }
        public List<details> details { get; set; } = new List<details>();
        public List<auxdetails> auxdetails { get; set; } = new List<auxdetails>();
    }
    public class details
    {
        public string itemcode { get; set; }
        public string itemname { get; set; }
        public string itemquantity { get; set; }
        public string itemunit { get; set; }
        public string itemstd { get; set; }
        public string itemamount { get; set; }
        public string itemremark { get; set; }

    }
    public class auxdetails
    {
        public string auxitemrelatedcode { get; set; }
        public string auxitemrelatedname { get; set; }
        public string auxitemcode { get; set; }
        public string auxitemname { get; set; }
        public string auxitemquantity { get; set; }
        public string auxitemunit { get; set; }
        public string auxitemstd { get; set; }
        public string auxitemamount { get; set; }
        public string auxitemremark { get; set; }

    }
}
